package com.chenwut.threadDemo.threadDemo01;

public class MyThread extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 20; i++) {
            System.out.println(getName() + "打印了" + i);
        }
    }
}
